package com.cloudkinto.vo.order.outbound;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author long
 */
@Data
public class WaveDetail {

    private Long id;

    @ApiModelProperty("波次号")
    private String waveNo;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("总数量")
    private Integer shouldPickingQty;

    @ApiModelProperty("波次品种类型 1一单一件 2一单多件")
    private Integer waveVarietyType;

    @ApiModelProperty("订单数量")
    private Integer orderNum;

    @ApiModelProperty("创建人")
    private String createByName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("拣货员")
    private Long picker;

    @ApiModelProperty("出库单信息")
    private List<NormalOutboundVo> outboundDoList;

    @ApiModelProperty("sku明细")
    private List<WaveDetail.SkuDetail> skuDetailList;

    @Data
    public static class SkuDetail {
        private Long productId;
        private String sku;
        private String productName;
        @ApiModelProperty("应拣数量")
        private Integer forecastQty;
        @ApiModelProperty("已拣数量")
        private Integer outboundQty;
    }
}
